package day06;

public class ArrayDemo {
    public static void main(String[] args) {

        int[]a={20, 30, 40, 50, 60};
        int[]b=new int[6];
        System.arraycopy(a,1,b,0,4);
        for(int c=0;c<b.length;c++){
            System.out.println(b[c]);
        }




    }
}
